package com.dianxin.farm.mapper.customer;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dianxin.farm.entity.CustomerInfo;
import com.dianxin.farm.entity.pojo.CustomerInfoResponse;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 用户基础信息表 Mapper 接口
 * </p>
 *
 * @author xukai
 * @since 2020-11-30
 */
public interface CustomerInfoMapper extends BaseMapper<CustomerInfo> {

    List<CustomerInfoResponse> selectByCondition(@Param("userName")String userName,
                                                 @Param("phone") String phone,
                                                 @Param("role")Integer role);

}
